<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>transform变形转换</title>
    <style>
        .box {
            /* 初始状态 */
            width: 100px;
            height: 100px;
            background-color: red;
            position: relative;
            left: 300px;
            top: 300px;
        }
        
        .box:hover {
            /* 触发状态 */
            transform: rotate(360deg) scale(2) skew(360deg, 50deg) translate(10px, 30px);
            transform-origin: 200px 200px 0;
            transition: 5s;
        }
    </style>
</head>

<body>
    <div class="box"></div>
</body>

</html>